#include <func.h>

int main(int argc,char *argv[])
{
    int fd=open(argv[1],O_RDWR);
    if(fork()==0)
    {
        write(fd,"hello",5);
    }
    else
    {
        write(fd,"world",5);
    }
    close(fd);
    return 0;
}

